package com.breez.aiauth.common.config.handler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.PrintStream;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AiAuthException extends RuntimeException {
    /**
     * 响应状态码
     */
    private Integer code;
    /**
     * 响应异常信息
     */
    private String msg;


    public void printStackTrace(String msg) {
        System.out.println(msg);
    }
}
